import 'package:flutter/material.dart';

//model1
class Counter with ChangeNotifier {
  int _value;
  int get value => _value;
  Counter(this._value);
  void increment() {
    _value++;
    notifyListeners();
  }
}
